"""
    项目入口
"""
from os.path import dirname, abspath

class LeisTools:
    """
    入口类
    """
    project_root = ''

    def __init__(self):
        self.project_root = LeisTools.get_project_root()

    @staticmethod
    def get_project_root():
        return dirname(dirname(abspath(__file__)))
        # return os.path.abspath(os.path.dirname(__file__))


